import React from 'react'
import { NavLink } from 'react-router-dom'
import '@/assets/css/user.scss'

const Nav = () => {
  return (
    <ul className="nav">
      <li>
        <NavLink exact to="/">列表页面</NavLink>
      </li>
      <li>
        <NavLink to="/add">添加用户</NavLink>
      </li>
    </ul>
  );
}

export default Nav;
